package com.hourse.platform.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @使用描述: MenuVO
 */
@ApiModel(description = "菜单数据")
@Data
public class MenuVO extends BaseVo {

  private String id;

  @ApiModelProperty(value = "菜单名称")
  @NotBlank(message = "菜单名称不能为空...")
  private String name;

  @ApiModelProperty(value = "菜单地址")
  private String url;

  @ApiModelProperty(value = "菜单图标")
  @NotBlank(message = "菜单图标不能为空...")
  private String icon;

  @ApiModelProperty(value = "父级菜单ID")
  private String parentId;

  @ApiModelProperty(value = "是否含有子类 - 树状结构显示使用 true || false")
  private String hasChildren;

  @ApiModelProperty(value = "是否含有子类 - 树状结构显示使用  true || false")
  private String auth;

  private String comName;

  private String hidden;

  private Float sort;
}
